package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Parents;
import org.hxyjs.entity.Press;
import org.hxyjs.entity.PressExample;

public interface PressMapper {
    long countByExample(PressExample example);

    int deleteByExample(PressExample example);

    int deleteByPrimaryKey(String prno);

    int insert(Press record);

    int insertSelective(Press record);

    List<Press> getPressByPage(Map map);

    String getMaxPrno();

    Press getAccountByAccountName(String prname);

    Press selectPressWithSalesagentAndBooks(String prno);

    List<Press> selectByExample(PressExample example);

    Press selectByPrimaryKey(String prno);

    int updateByExampleSelective(@Param("record") Press record, @Param("example") PressExample example);

    int updateByExample(@Param("record") Press record, @Param("example") PressExample example);

    int updateByPrimaryKeySelective(Press record);

    int updateByPrimaryKey(Press record);
}